package com.yh.bean;

public class BBS {
	
	private int bbs_id;			//论坛id
	private String bbs_time;	//论坛时间
	private int bbs_userid;		//用户Id
	private String bbs_title;	//标题
	private String bbs_name;	//发帖人
	private String bbs_content;	//发帖内容
	
	
	public BBS(){}
	
	public BBS(int bbs_id, String bbs_time, int bbs_userid, String bbs_name,
			String bbs_content,String bbs_title) {
		super();
		this.bbs_id = bbs_id;
		this.bbs_time = bbs_time;
		this.bbs_userid = bbs_userid;
		this.bbs_name = bbs_name;
		this.bbs_content = bbs_content;
		this.bbs_title=bbs_title;
				
	}
	public int getBbs_id() {
		return bbs_id;
	}
	public void setBbs_id(int bbs_id) {
		this.bbs_id = bbs_id;
	}
	public String getBbs_time() {
		return bbs_time;
	}
	public void setBbs_time(String bbs_time) {
		this.bbs_time = bbs_time;
	}
	public int getBbs_userid() {
		return bbs_userid;
	}
	public void setBbs_userid(int bbs_userid) {
		this.bbs_userid = bbs_userid;
	}
	public String getBbs_name() {
		return bbs_name;
	}
	public String getBbs_title() {
		return bbs_title;
	}
	public void setBbs_title(String bbs_title) {
		this.bbs_title = bbs_title;
	}
	public void setBbs_name(String bbs_name) {
		this.bbs_name = bbs_name;
	}
	public String getBbs_content() {
		return bbs_content;
	}
	public void setBbs_content(String bbs_content) {
		this.bbs_content = bbs_content;
	}

	@Override
	public String toString() {
		return "BBS [bbs_id=" + bbs_id + ", bbs_time=" + bbs_time
				+ ", bbs_userid=" + bbs_userid + ", bbs_title=" + bbs_title
				+ ", bbs_name=" + bbs_name + ", bbs_content=" + bbs_content
				+ "]";
	}
	
	
}
